﻿@using Microsoft.Web.Helpers;
<div id="main-wrap">
    <div id="main" class="group">
        <div id="content" class="group">
            <h2>
            @if (ViewBag.Header != null)
            {
                @ViewBag.Header
            }
            else
            {
                <text>Upload Image</text>
            }
            
                </h2>
            @using (Html.BeginForm("Upload", "Image", FormMethod.Post,
        new { @encType = "multipart/form-data" }))
            {           
                @FileUpload.GetHtml(initialNumberOfFiles: 1, allowMoreFilesToBeAdded: false,
            includeFormTag: false, addText: "Add Files", uploadText: "Upload File" ) <br />        

                <input type="submit" name="submit" value="Upload Image" text="Upload Images" class="action medium" />
  
            }
        </div>
    </div>
</div>
